package cn.com.tomato;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 通过mybatis实现读写分离
 */
@MapperScan("cn.com.tomato.mapper")
@SpringBootApplication(scanBasePackages={
        "cn.com"
})
public class TomatoApplication {

    public static void main(String[] args) {
        SpringApplication.run(TomatoApplication.class, args);
    }
}